﻿<Window x:Class="DeckWorkspace.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:cab="http://schemas.scsfcontrib.com/extensions/wpf/wpfcab" 
    Title="DeckWorkspace">
	<DockPanel>
		<StackPanel DockPanel.Dock="Top">
			<TextBlock TextWrapping="Wrap">
				This sample demonstrates the DeckWorkspace class. Inside the red border below is a DeckWorkspace. Use the hyperlinks
				below to control the display of the various smart parts.
			</TextBlock>
			<TextBlock>
				Smart Part 1: <Hyperlink Click="_show_Click" Tag="1">Show</Hyperlink> | <Hyperlink Click="_hide_Click" Tag="1">Hide</Hyperlink> | <Hyperlink Click="_close_Click" Tag="1">Close</Hyperlink>
			</TextBlock>
			<TextBlock>
				Smart Part 2: <Hyperlink Click="_show_Click" Tag="2">Show</Hyperlink> | <Hyperlink Click="_hide_Click" Tag="2">Hide</Hyperlink> | <Hyperlink Click="_close_Click" Tag="2">Close</Hyperlink>
			</TextBlock>
			<TextBlock>
				Smart Part 3: <Hyperlink Click="_show_Click" Tag="3">Show</Hyperlink> | <Hyperlink Click="_hide_Click" Tag="3">Hide</Hyperlink> | <Hyperlink Click="_close_Click" Tag="3">Close</Hyperlink>
			</TextBlock>
		</StackPanel>
		<Border BorderThickness="2" BorderBrush="Red">
			<cab:DeckWorkspace x:Name="_deckWorkspace"/>
		</Border>
	</DockPanel>
</Window>
